﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DOAN.DLL;
using DOAN.Public;

namespace DOAN.BLL
{
    public class TinhTrangSuDungBLL
    {
        TinhTrangSuDungDAL _tinhTrangSuDung;

        public TinhTrangSuDungBLL()
        {
            _tinhTrangSuDung = new TinhTrangSuDungDAL();
        }

        public DataTable Load()
        {
            return _tinhTrangSuDung.Load();
        }

        public int Insert(TinhTrangSuDungPublic p)
        {

            return _tinhTrangSuDung.Insert(p);
        }

        public int Update(TinhTrangSuDungPublic p)
        {
            return _tinhTrangSuDung.Update(p);
        }

        public int Delete(TinhTrangSuDungPublic p)
        {
            return _tinhTrangSuDung.Delete(p);
        }
    }
}
